<div class = "123">
    <el-form    label-width="100%">
        <el-form-item label="">
        </el-form-item>
    </el-form>
    <!--表格查询-->
    <el-form    label-width="100%">
        <el-form-item label="">
        </el-form-item>
    </el-form>
    <el-form :inline="true" :model="checkFormInline" class="demo-form-inline">
        <el-form-item label="商品大类">
            <el-input v-model="checkFormInline.goodsCategory" placeholder="商品大类"></el-input>
        </el-form-item>
        <el-form-item label="商品编码">
            <el-input v-model="checkFormInline.goodsCode" placeholder="商品编码"></el-input>
        </el-form-item>
        <el-form-item label="进货日期">
            <el-date-picker
                    v-model="checkFormInline.stockDate"
                    align="right"
                    type="date"
                    placeholder="选择进货日期"

                    @change="pickTime2"
                    :picker-options="pickerOptions2" style="width: 175px">
            </el-date-picker>
        </el-form-item>
        <el-form-item label="商品供货商">
            <el-input v-model="checkFormInline.supplier" placeholder="商品供应商"></el-input>
        </el-form-item>
        <el-button type="primary" @click="checkStockInRecord()">查询</el-button>
    </el-form>
    <!--表格数据-->
    <template>
        <kf-table
                ref="baseTable"
                :data="tableData"
                one-screen
                layout="total, sizes, prev, pager, next, jumper"
        >
            <el-table-column prop="goodsInventoryPo.goodsCategory"  label="商品大类"  width="100">
            </el-table-column>
            <el-table-column prop="goodsInventoryPo.goodsName" label="商品名称" width="100">
            </el-table-column>
            <el-table-column prop="goodsInventoryPo.goodsSpec" label="商品规格" width="100">
            </el-table-column>
            <el-table-column prop="goodsInventoryPo.goodsCode" label="商品编码" width="100">
            </el-table-column>
            <el-table-column prop="supplier" label="供货商" width="100">
            </el-table-column>
            <el-table-column prop="stockDate" label="进货日期" width="100">
            </el-table-column>
            <el-table-column prop="stockNum" label="进货数量" width="100">
            </el-table-column>
            <el-table-column prop="stockPrice" label="进货单价" width="100">
            </el-table-column>
            <el-table-column prop="total" label="合计" width="100">
            </el-table-column>
            <el-table-column prop="paidMoney" label="已付金额" width="100">
            </el-table-column>
            <el-table-column prop="debtMoney" label="欠款金额" width="100">
            </el-table-column>
            <el-table-column prop="stockPeople" label="进货人" width="100">
            </el-table-column>
            <el-table-column prop="invoiceNum" label="单据号" width="100">
            </el-table-column>
            <el-table-column prop="remarks" label="备注">
            </el-table-column>
            <el-table-column label="操作" fixed="right" width="180px">
                <template scope="scope">
                    <el-button  @click="editContact(scope)" type="primary">修改</el-button>
                    <el-button  @click="delectContact(scope)" type="primary">删除</el-button>
                </template>
            </el-table-column>
        </kf-table>
    </template>

</div>